var Car = /** @class */ (function () {
    function Car() {
        this.things = [];
    }
    Car.prototype.add = function (something) {
        this.things.push(something);
    };
    Car.prototype.get = function (index) {
        console.log(index);
    };
    return Car;
}());
var car1 = new Car();
car1.add('11'); //如果使用number 11,就会报错
car1.get(2);
